package com.tanhua.model.mongo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Document(collection = "tb_user_report")
//用户的种类关系
public class UserReport implements Serializable {
    private ObjectId id;
    private Long userId; //用户id
    private Long questionnaireId;//问卷id
    private Long reportId;//种类id
    private String created;//创建时间
    private String updated;//创建时间

}
